package com.tn.exam.entity;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * InfoUserDetail entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "info_user_detail")
public class InfoUserDetail extends BaseEntity implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userEnglishName;
	private String userDegree;
	private String userEducation;
	private String userIdCardNo;
	private String userNationality;
	private String userBirthland;
	private Date userBirthdate;
	private String userAddress;
	private String userPoliticsStatus;
	private Integer userDutyId;
	private Integer userHasCertificate;
	private Date userGetCertificateTime;
	private Integer userCertificateValidity;
	private String userJobNum;
	private Date userEmployedDate;
	private String userMsn;
	private String userQq;
	private String userIdentityNo;
	private String userLineTelNum;
	private String userMobileNum;
	private String userEmail;
	private Integer userDepartmentId;
	private Integer userPositionId;

	// Constructors

	/** default constructor */
	public InfoUserDetail() {
	}

	/** full constructor */
	public InfoUserDetail(String userEnglishName, String userDegree,
			String userEducation, String userIdCardNo, String userNationality,
			String userBirthland, Date userBirthdate, String userAddress,
			String userPoliticsStatus, Integer userDutyId,
			Integer userHasCertificate, Date userGetCertificateTime,
			Integer userCertificateValidity, String userJobNum,
			Date userEmployedDate, String userMsn, String userQq,
			String userIdentityNo, String userLineTelNum, String userMobileNum,
			String userEmail, Integer userDepartmentId, Integer userPositionId) {
		this.userEnglishName = userEnglishName;
		this.userDegree = userDegree;
		this.userEducation = userEducation;
		this.userIdCardNo = userIdCardNo;
		this.userNationality = userNationality;
		this.userBirthland = userBirthland;
		this.userBirthdate = userBirthdate;
		this.userAddress = userAddress;
		this.userPoliticsStatus = userPoliticsStatus;
		this.userDutyId = userDutyId;
		this.userHasCertificate = userHasCertificate;
		this.userGetCertificateTime = userGetCertificateTime;
		this.userCertificateValidity = userCertificateValidity;
		this.userJobNum = userJobNum;
		this.userEmployedDate = userEmployedDate;
		this.userMsn = userMsn;
		this.userQq = userQq;
		this.userIdentityNo = userIdentityNo;
		this.userLineTelNum = userLineTelNum;
		this.userMobileNum = userMobileNum;
		this.userEmail = userEmail;
		this.userDepartmentId = userDepartmentId;
		this.userPositionId = userPositionId;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "user_id", unique = true, nullable = false)
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "user_english_name", length = 39)
	public String getUserEnglishName() {
		return this.userEnglishName;
	}

	public void setUserEnglishName(String userEnglishName) {
		this.userEnglishName = userEnglishName;
	}

	@Column(name = "user_degree", length = 39)
	public String getUserDegree() {
		return this.userDegree;
	}

	public void setUserDegree(String userDegree) {
		this.userDegree = userDegree;
	}

	@Column(name = "user_education", length = 39)
	public String getUserEducation() {
		return this.userEducation;
	}

	public void setUserEducation(String userEducation) {
		this.userEducation = userEducation;
	}

	@Column(name = "user_id_card_no", length = 39)
	public String getUserIdCardNo() {
		return this.userIdCardNo;
	}

	public void setUserIdCardNo(String userIdCardNo) {
		this.userIdCardNo = userIdCardNo;
	}

	@Column(name = "user_nationality", length = 39)
	public String getUserNationality() {
		return this.userNationality;
	}

	public void setUserNationality(String userNationality) {
		this.userNationality = userNationality;
	}

	@Column(name = "user_birthland", length = 39)
	public String getUserBirthland() {
		return this.userBirthland;
	}

	public void setUserBirthland(String userBirthland) {
		this.userBirthland = userBirthland;
	}

	@Column(name = "user_birthdate", length = 19)
	public Date getUserBirthdate() {
		return this.userBirthdate;
	}

	public void setUserBirthdate(Date userBirthdate) {
		this.userBirthdate = userBirthdate;
	}

	@Column(name = "user_address", length = 39)
	public String getUserAddress() {
		return this.userAddress;
	}

	public void setUserAddress(String userAddress) {
		this.userAddress = userAddress;
	}

	@Column(name = "user_politics_status", length = 39)
	public String getUserPoliticsStatus() {
		return this.userPoliticsStatus;
	}

	public void setUserPoliticsStatus(String userPoliticsStatus) {
		this.userPoliticsStatus = userPoliticsStatus;
	}

	@Column(name = "user_duty_id")
	public Integer getUserDutyId() {
		return this.userDutyId;
	}

	public void setUserDutyId(Integer userDutyId) {
		this.userDutyId = userDutyId;
	}

	@Column(name = "user_has_certificate")
	public Integer getUserHasCertificate() {
		return this.userHasCertificate;
	}

	public void setUserHasCertificate(Integer userHasCertificate) {
		this.userHasCertificate = userHasCertificate;
	}

	@Column(name = "user_get_certificate_time", length = 19)
	public Date getUserGetCertificateTime() {
		return this.userGetCertificateTime;
	}

	public void setUserGetCertificateTime(Date userGetCertificateTime) {
		this.userGetCertificateTime = userGetCertificateTime;
	}

	@Column(name = "user_certificate_validity")
	public Integer getUserCertificateValidity() {
		return this.userCertificateValidity;
	}

	public void setUserCertificateValidity(Integer userCertificateValidity) {
		this.userCertificateValidity = userCertificateValidity;
	}

	@Column(name = "user_job_num", length = 32)
	public String getUserJobNum() {
		return this.userJobNum;
	}

	public void setUserJobNum(String userJobNum) {
		this.userJobNum = userJobNum;
	}

	@Column(name = "user_employed_date", length = 19)
	public Date getUserEmployedDate() {
		return this.userEmployedDate;
	}

	public void setUserEmployedDate(Date userEmployedDate) {
		this.userEmployedDate = userEmployedDate;
	}

	@Column(name = "user_msn", length = 39)
	public String getUserMsn() {
		return this.userMsn;
	}

	public void setUserMsn(String userMsn) {
		this.userMsn = userMsn;
	}

	@Column(name = "user_qq", length = 39)
	public String getUserQq() {
		return this.userQq;
	}

	public void setUserQq(String userQq) {
		this.userQq = userQq;
	}

	@Column(name = "user_identity_no", length = 39)
	public String getUserIdentityNo() {
		return this.userIdentityNo;
	}

	public void setUserIdentityNo(String userIdentityNo) {
		this.userIdentityNo = userIdentityNo;
	}

	@Column(name = "user_line_tel_num", length = 18)
	public String getUserLineTelNum() {
		return this.userLineTelNum;
	}

	public void setUserLineTelNum(String userLineTelNum) {
		this.userLineTelNum = userLineTelNum;
	}

	@Column(name = "user_mobile_num", length = 18)
	public String getUserMobileNum() {
		return this.userMobileNum;
	}

	public void setUserMobileNum(String userMobileNum) {
		this.userMobileNum = userMobileNum;
	}

	@Column(name = "user_email", length = 64)
	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	@Column(name = "user_department_id")
	public Integer getUserDepartmentId() {
		return this.userDepartmentId;
	}

	public void setUserDepartmentId(Integer userDepartmentId) {
		this.userDepartmentId = userDepartmentId;
	}

	@Column(name = "user_position_id")
	public Integer getUserPositionId() {
		return this.userPositionId;
	}

	public void setUserPositionId(Integer userPositionId) {
		this.userPositionId = userPositionId;
	}

}